package com.b2s.scrumblr.kb.dao;

import com.b2s.scrumblr.kb.model.User;
import com.b2s.scrumblr.kb.model.UserRole;

import java.util.List;

/**
 * Created by Administrator on 2016/8/25.
 */
public interface UserDao {
    User findUser(User user);

    void addUser(User user);

    void addUserRoles(List<UserRole> userRoles );

    void updateUser(User user);

    void deleteUserRoles(String uId);

    void deleteUser(String id);
}
